Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use an interface for Azure blob storage #35

Merged
merged 2 commits into from
May 23, 2024
Merged

Use an interface for Azure blob storage #35

merged 2 commits into from
May 23, 2024

Conversation

somesylvie
Copy link
Contributor

Use an interface for Azure blob storage

  • Use an interface for Azure blob storage
  • Deconflict some ports that ReportStream is now using
  • Do a little renaming for clarity

Issue

CDCgov/trusted-intermediary#1075

Checklist

  • I have added GoDocs where required

Note: You may remove items that are not applicable

somesylvie and others added 2 commits May 23, 2024 14:37
Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
Co-Authored-By: jcrichlake <145698165+jcrichlake@users.noreply.github.com>
@somesylvie somesylvie requested a review from halprin May 23, 2024 19:44
Copy link

sonarcloud bot commented May 23, 2024

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@jcrichlake jcrichlake self-requested a review May 23, 2024 19:51
@somesylvie somesylvie merged commit 0a7be42 into main May 23, 2024
13 checks passed
@somesylvie somesylvie deleted the use-interfaces branch May 23, 2024 19:51
Copy link
Member

@halprin halprin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Post merge, but here's one last thing I'd change.

blobClient *azblob.Client
}

func NewBlobHandler(conn string) (BlobHandler, error) {
func NewBlobHandler(conn string) (StorageHandler, error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be NewStorageHandler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants